import request from '@/utils/request';

// 公共通用接口

export function uploadFile(formData) {
  return request({
    url: '/api/common/upload',
    method: 'post',
    data: formData,
  });
}

export function getDict(type) {
  return request({
    url: `/api/common/dict/${type}`,
    method: 'get',
  });
}


